import 'package:xreader/generated/json/base/json_field.dart';
import 'package:xreader/generated/json/t_book_cont_entity.g.dart';
import 'dart:convert';
import 'package:xreader/model/fan_yi_entity.dart';


@JsonSerializable()
class TBookContEntity {

	int? id;
	String? btitle;
  String? phk;
	int? bookid;
	int? border;
  int? bnum;//字数
	int? bcontNum;
	int? fanyisNum;
  List<FanYiEntity>? bcontList;
  String? bcontstr;// bcontList 对应的json序列化字符串
  int? tmsec;//远程同步时间戳-秒


  TBookContEntity();

  factory TBookContEntity.fromJson(Map<String, dynamic> json) => $TBookContEntityFromJson(json);

  Map<String, dynamic> toJson() => $TBookContEntityToJson(this);

  @override
  String toString() {
    return jsonEncode(this);
  }
}